﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace GestionSaludOcupacional.Portal.Base.ViewModels.HistoriaClinica
{
    public class FactorRiesgoViewModel
    {
        public int Id { get; set; }
        [Display(Name = "Nombre Centro Trabajo")]
        [Required]
        public string NombreCentroTrabajo { get; set; }
        [Required]
        public string Cargo { get; set; }
        [Display(Name = "Tiempo Laborado Año")]
        [Required]
        [Range(0, 99, ErrorMessage = "{0} el rango en incorrecto")]
        public int? TiempoLaboradoAno { get; set; }
        [Display(Name = "Tiempo Laborado Mes")]
        [Required]
        [Range(0, 12, ErrorMessage = "{0} el rango en incorrecto [0-12] meses")]
        public int? TiempoLaboradoMes { get; set; }
        [Display(Name = "Tiempo Antiguedad año")]
        [Required]
        [Range(0, 99, ErrorMessage = "{0} el rango en incorrecto")]
        public int? TiempoAntiguedadAno { get; set; }
        [Display(Name = "Tiempo Antiguedad mes")]
        [Required]
        [Range(0, 12, ErrorMessage = "{0} el rango en incorrecto [0-12] meses")]
        public int? TiempoAntiguedasmes { get; set; }
        [Display(Name = "Riesgo Fisico")]
        public bool? RiesgoFisico { get; set; }
        [Display(Name = "Riesgo Quimico")]
        public bool? RiesgoQuimico { get; set; }
        [Display(Name = "Riesgo Biologico")]
        public bool? RiesgoBiologico { get; set; }
        [Display(Name = "Riesgo Ergonomico")]
        public bool? RiesgoErgonomico { get; set; }
        [Display(Name = "Riesgo Mecanico")]
        public bool? RiesgoMecanico { get; set; }
        [Display(Name = "Riesgo Psicolaboral")]
        public bool? RiesgoPsicolaboral { get; set; }
        [Display(Name = "Riesgo Locativo")]
        public bool? RiesgoLocativo { get; set; }
        [Display(Name = "Otros Riesgos")]
        [Required]
        public string OtrosRiesgos { get; set; }

        public bool? Epp { get; set; }
        [Required]
        public string Descripcion { get; set; }

    }
}
